Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
#include <linux/highmem.h>
#include <linux/pagemap.h>
#include <linux/seq_file.h>
+#include <linux/kthread.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
PAGE_SHIFT);
/* We'll return then this will wait for daemon to answer */
- // kthread_run(do_xenbus_probe, NULL, "xenbus_probe");
+ kthread_run(do_xenbus_probe, NULL, "xenbus_probe");
}
break;
/* Execute a privileged dom0 operation. */
int xc_dom0_op(int xc_handle, dom0_op_t *op);
+/* Initializes the store (for dom0)
+ remote_port should be the remote end of a bound interdomain channel between
+ the store and dom0.
+
+ This function returns a shared frame that should be passed to
+ xs_introduce_domain
+ */
+long xc_init_store(int xc_handle, int remote_port);
+
#endif /* __XC_H__ */
return rc;
}
+
+long xc_init_store(int xc_handle, int remote_port)
+{
+ return ioctl(xc_handle, IOCTL_PRIVCMD_INITDOMAIN_STORE, remote_port);
+}